html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    /* 控制容器的最大宽度 */
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

input {
    margin: 10px 0;
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.code-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#code {
    flex: 1;
}

#codeButton {
    margin-left: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button {
    margin: 10px 5px;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button:hover,
#codeButton:hover {
    background-color: #45a049;
}

#msg {
    opacity: 0;
    color: #000;
    font-size: 16px;
    margin-top: 10px;
}

.button-group {
    display: flex;
    justify-content: space-around;
    width: 100%;
}